package ru.papergames.controller.commands
{
	import org.puremvc.as3.interfaces.INotification;
	
	import ru.papergames.controller.commands.BaseCommand;
	import ru.papergames.model.proxies.LoginProxy;
	import ru.papergames.model.proxies.MsgServerAccessProxy;
	import ru.papergames.model.proxies.MessagingSocketProxy;


	public class LogoutCommand extends BaseCommand
	{
		override public function execute(notification:INotification):void {
			super.execute(notification);
			
			messagingProxy.disconnect();	
			
			loginProxy.doLogout();			
						
		}	
		
		
	}
}
